//
//  HZOutsideFurnitureAction.m
//  Model
//
//  Created by YDJH on 2017/6/5.
//  Copyright © 2017年 YDJH. All rights reserved.
//

#import "HZOutsideFurnitureAction.h"
#import "HZFurniture.h"
#import "HZConstruction.h"
#import "HZSandTable.h"
#import "HZFurniture_Header.h"
@implementation HZOutsideFurnitureAction

+(HZOutsideFurnitureAction*)standardHZFurnitureAction
{
    __strong static HZOutsideFurnitureAction *_sharedObject = nil;
    @synchronized(self) {//同步 执行 防止多线程操作
        if (_sharedObject == nil) {
            _sharedObject = [[self alloc] init];
        }
    }
    return _sharedObject;
}

- (HZSandTable *)enterAction:(HZFurniture *)furniture withObject:(HZConstruction *)construction {
    
    HZConstruction *model = construction;
    
    model.sandTable.isHiddenFurniture = YES;
        
    
    return model.sandTable;
}



@end
